#!/bin/bash
echo "停用所有容器"
/usr/local/bin/docker-compose down
echo "删除镜像"
docker rmi hbuzc-admin-app:1.0
echo "构建镜像"
docker build -t hbuzc-admin-app:1.0 .
echo "运行容器"
/usr/local/bin/docker-compose up -d